<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  

  
  <title>Linux平台安装图像化桌面CentOS 7 | Jason&#39;s Blog</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Linux平台安装图像化桌面CentOS 7">
<meta property="og:type" content="article">
<meta property="og:title" content="Linux平台安装图像化桌面CentOS 7">
<meta property="og:url" content="https://xianguoji.gitee.io/myblog/2017/04/20/2017-04-20-Linux%E5%B9%B3%E5%8F%B0%E5%AE%89%E8%A3%85%E5%9B%BE%E5%83%8F%E5%8C%96%E6%A1%8C%E9%9D%A2CentOS%207/index.html">
<meta property="og:site_name" content="Jason&#39;s Blog">
<meta property="og:description" content="Linux平台安装图像化桌面CentOS 7">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/1.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/2.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/3.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/4.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/5.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/6.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/6.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/7.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/8.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/9.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/13.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/10.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/11.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/12.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/14.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/15.png">
<meta property="og:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/16.png">
<meta property="article:published_time" content="2017-04-19T16:00:00.000Z">
<meta property="article:modified_time" content="2020-08-13T02:18:34.682Z">
<meta property="article:author" content="Jason">
<meta property="article:tag" content="博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://xianguoji.gitee.io/myblog/images/centos图形化/1.png">
  
    <link rel="alternate" href="/myblog/" title="Jason&#39;s Blog" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  
<link rel="stylesheet" href="/myblog/css/style.css">

<meta name="generator" content="Hexo 5.0.2"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/myblog/" id="logo">人与人的悲欢并不相通，孤独是生命的本质。</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/myblog/" id="subtitle">欢迎来到我的个人网站</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/myblog/">Home</a>
        
          <a class="main-nav-link" href="/myblog/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/myblog/" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://xianguoji.gitee.io/myblog"></form>
      </div>
    </div>
  </div>
</header>
<style>
  #logo{
    text-shadow:0 0 5px #000;
    /* font-weight: bold; */
  }
  #subtitle-wrap{
    margin-top: 50px;
  }
</style>
      <div class="outer">
        <section id="main"><article id="post-2017-04-20-Linux平台安装图像化桌面CentOS 7" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/myblog/2017/04/20/2017-04-20-Linux%E5%B9%B3%E5%8F%B0%E5%AE%89%E8%A3%85%E5%9B%BE%E5%83%8F%E5%8C%96%E6%A1%8C%E9%9D%A2CentOS%207/" class="article-date">
  <time datetime="2017-04-19T16:00:00.000Z" itemprop="datePublished">2017-04-20</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      Linux平台安装图像化桌面CentOS 7
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="Linux平台安装图像化桌面CentOS-7"><a href="#Linux平台安装图像化桌面CentOS-7" class="headerlink" title="Linux平台安装图像化桌面CentOS 7"></a>Linux平台安装图像化桌面CentOS 7</h1><p> <br>###安装操作系统<br>本项目需要部署在Linux平台下。建议使用CentOS 7。<br>如果事前已经安装了操作系统，请跳过此章节。<br>本文假定读者具备Linux图形界面的使用能力。</p>
<ol>
<li><p>启动服务器，插入系统安装光盘或U盘，并在BIOS中设置以光盘或U盘启动（视具体场合下的安装介质而定）。</p>
</li>
<li><p>启动后，进入如同下图的画面，利用键盘的方向键选择第一项“Install CentOS 7”，等待片刻后进入安装画面。</p>
</li>
</ol>
<img src="/myblog/images/centos图形化/1.png" height="500" width="600">

<ol start="3">
<li><p>进入CentOS7安装程序。第一个画面是选择要安装的系统的语言。接下来的截图选择的是简体中文（中国）。选择后，按【继续】进入下一步的安装概况画面。</p>
<img src="/myblog/images/centos图形化/2.png" height="500" width="600">
</li>
<li><p>点击【日期与时间】，进入系统时间设置。</p>
</li>
</ol>
<img src="/myblog/images/centos图形化/3.png" height="500" width="600">

<ol start="5">
<li>确认系统时区、日期与时间是否正确。完成确认或修改后，点击【完成】按钮返回安装概况。</li>
</ol>
<img src="/myblog/images/centos图形化/4.png" height="500" width="600">
6.    回到安装概况画面后，点击【安装位置】，选择安装目的地。

<img src="/myblog/images/centos图形化/5.png" height="500" width="600">

<ol start="7">
<li><p>设置硬盘分区。一般而言，选择第一个本地磁盘，然后分区选项选择【自动配置分区】即可。如果有需要，也可以自定义分区大小等数据。完成配置后点击“完成”按钮即可。</p>
<img src="/myblog/images/centos图形化/6.png" height="500" width="600">
</li>
<li><p>完成分区选择与配置后，回到安装概况画面，点击【软件选择】。</p>
<img src="/myblog/images/centos图形化/6.png" height="500" width="600">


</li>
</ol>
<ol start="9">
<li><p>在软件选择画面中，从左边栏找到【带GUI的服务器】，然后在右边栏找到【KDE】、【MariaDB数据库服务器】、【开发工具】，勾选这三个工具，然后点击“完成”。</p>
<img src="/myblog/images/centos图形化/7.png" height="500" width="600">
<img src="/myblog/images/centos图形化/8.png" height="500" width="600">
<img src="/myblog/images/centos图形化/9.png" height="500" width="600"></li>
<li><p>回到安装概况画面，点击右下角的【开始安装】按钮进入下一个环节。</p>
<img src="/myblog/images/centos图形化/13.png" height="500" width="600">
</li>
<li><p>安装程序正在把文件复制到磁盘上。此时，用户可以配置root账号密码，以及添加更多用户账号。先点击【ROOT 密码】设置root密码。</p>
<img src="/myblog/images/centos图形化/10.png" height="500" width="600">
</li>
<li><p>在ROOT密码画面中，设置root账户密码，然后点击“完成”。</p>
<img src="/myblog/images/centos图形化/11.png" height="500" width="600">


</li>
</ol>
<ol start="13">
<li>为了确保安全，一般建议系统管理员再设置另一个管理专用的账号，而不是直接使用root账号进行操作。点击【创建用户】可创建新的账户。记得勾选【将此用户做为管理员】选项。</li>
</ol>
<img src="/myblog/images/centos图形化/12.png" height="500" width="600">

<ol start="14">
<li><p>当系统文件复制、解压完毕后，安装程序会自动重启电脑，进入命令行界面。此时系统已安装完毕。</p>
</li>
<li><p>启动系统后进入登录界面，系统默认登录界面是新创建的管理员账户，输入密码登录。</p>
</li>
</ol>
<img src="/myblog/images/centos图形化/14.png" height="500" width="600">


<ol start="16">
<li>如需用root账户登录，点击“未列出？”，输入root账户用户名、密码进行登录。</li>
</ol>
<img src="/myblog/images/centos图形化/15.png" height="500" width="600">

<ol start="17">
<li>登录后，系统界面。<img src="/myblog/images/centos图形化/16.png" height="500" width="600">


</li>
</ol>
<p> <br>###配置软件环境<br>在配置网络环境之前，请先通过ping命令，确认当前服务器是否可以访问互联网。<br>ping <a target="_blank" rel="noopener" href="http://www.baidu.com/">www.baidu.com</a></p>
<p>如果互联网已经接通，就可以执行下一步操作了。否则，请向网络管理相关人员寻求协助。</p>
<p>2.1安装JDK<br>在终端下运行以下命令安装或升级JDK 1.7.0：<br>sudo yum install java-1.7.0-openjdk</p>
<p>此时输入“y”，系统将自动完成安装。以下其他软件的安装方式也是类似，不再重复。</p>
<p>2.2安装Tomcat<br>在终端下按顺序运行以下命令，安装或升级Tomcat<br>sudo yum install tomcat<br>sudo yum install tomcat-webapps tomcat-admin-webapps</p>
<p>完成软件安装后，到以下路径，设置tomcat管理页面的账号密码：<br>/etc/tomcat/tomcat-users.xml</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://xianguoji.gitee.io/myblog/2017/04/20/2017-04-20-Linux%E5%B9%B3%E5%8F%B0%E5%AE%89%E8%A3%85%E5%9B%BE%E5%83%8F%E5%8C%96%E6%A1%8C%E9%9D%A2CentOS%207/" data-id="ckds6fxa9000jk8qc59ck699i" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/myblog/tags/%E5%8D%9A%E5%AE%A2/" rel="tag">博客</a></li></ul>

    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/myblog/2017/04/21/2017-04-21-vue%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE%E5%8F%8A%E5%88%9B%E5%BB%BAvue%E9%A1%B9%E7%9B%AE/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          vue环境配置及创建vue项目
        
      </div>
    </a>
  
  
    <a href="/myblog/2017/04/20/2017-04-20-%E9%94%A4%E5%AD%90%E7%A7%91%E6%8A%80%E5%AE%98%E7%BD%91banner3D%E6%95%88%E6%9E%9C/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">锤子科技官网banner3D效果</div>
    </a>
  
</nav>

  
</article>

</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/javascript/" rel="tag">javascript</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/js/" rel="tag">js</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/rem/" rel="tag">rem</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E5%85%B6%E4%BB%96/" rel="tag">其他</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E5%8D%9A%E5%AE%A2/" rel="tag">博客</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/" rel="tag">性能优化</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E6%A1%86%E6%9E%B6/" rel="tag">框架</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E7%A7%BB%E5%8A%A8%E7%AB%AF/" rel="tag">移动端</a></li><li class="tag-list-item"><a class="tag-list-link" href="/myblog/tags/%E8%B7%A8%E5%9F%9F%E8%AF%B7%E6%B1%82/" rel="tag">跨域请求</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/myblog/tags/javascript/" style="font-size: 20px;">javascript</a> <a href="/myblog/tags/js/" style="font-size: 10px;">js</a> <a href="/myblog/tags/rem/" style="font-size: 16.67px;">rem</a> <a href="/myblog/tags/%E5%85%B6%E4%BB%96/" style="font-size: 10px;">其他</a> <a href="/myblog/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 13.33px;">博客</a> <a href="/myblog/tags/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/" style="font-size: 13.33px;">性能优化</a> <a href="/myblog/tags/%E6%A1%86%E6%9E%B6/" style="font-size: 10px;">框架</a> <a href="/myblog/tags/%E7%A7%BB%E5%8A%A8%E7%AB%AF/" style="font-size: 13.33px;">移动端</a> <a href="/myblog/tags/%E8%B7%A8%E5%9F%9F%E8%AF%B7%E6%B1%82/" style="font-size: 10px;">跨域请求</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2020/08/">August 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/06/">June 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/05/">May 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/04/">April 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/03/">March 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/02/">February 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2017/01/">January 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2016/10/">October 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2016/09/">September 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2016/08/">August 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/myblog/archives/2015/08/">August 2015</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/myblog/2020/08/13/2020-08-13%E4%B8%AA%E4%BA%BA%E7%AE%80%E5%8E%86/">(no title)</a>
          </li>
        
          <li>
            <a href="/myblog/2017/06/18/2017-06-18-%E5%89%8D%E7%AB%AF%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E4%B8%80/">前端性能优化一</a>
          </li>
        
          <li>
            <a href="/myblog/2017/05/15/2017-05-15-%E8%B0%83%E7%94%A8%E7%99%BE%E5%BA%A6%E5%9C%B0%E5%9B%BE%E6%8F%92%E4%BB%B6-%E6%9B%B4%E6%96%B0/">调用百度地图插件-更新</a>
          </li>
        
          <li>
            <a href="/myblog/2017/04/23/2017-04-23-vue%E6%90%AD%E5%BB%BA%E9%A1%B9%E7%9B%AE/">vue搭建项目</a>
          </li>
        
          <li>
            <a href="/myblog/2017/04/21/2017-04-21-%E8%B0%83%E7%94%A8%E7%99%BE%E5%BA%A6%E5%9C%B0%E5%9B%BE%E6%8F%92%E4%BB%B6/">调用百度地图插件</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2020 Jason<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/myblog/" class="mobile-nav-link">Home</a>
  
    <a href="/myblog/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  
<link rel="stylesheet" href="/myblog/fancybox/jquery.fancybox.css">

  
<script src="/myblog/fancybox/jquery.fancybox.pack.js"></script>




<script src="/myblog/js/script.js"></script>




  </div>
</body>
</html>